package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxxx.server.pojo.Admin;
import com.xxxx.server.pojo.Ivaccine;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 辅导员疫苗登记表 Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-01
 */
public interface IvaccineMapper extends BaseMapper<Ivaccine> {

    List<Ivaccine> getByColegeIdIvaccines(@Param("id")Integer colegeid);
    IPage<Ivaccine> getInvaccineByPage(Page<Ivaccine> page, @Param("ivaccine") Ivaccine ivaccine,
                                       @Param("beginDateScope") String[] beginDateScope, @Param("type") int type,@Param("collegeName") String collegeName,@Param("collegeid") int collegeid);

    List<Ivaccine> getInvaccineSeachList(@Param("ivaccine") Ivaccine ivaccine,
                                         @Param("beginDateScope") String[] beginDateScope,
                                         @Param("type") int type,
                                         @Param("collegeName") String collegeName,
                                         @Param("collegeid") int collegeid);
}
